package demo.generis;

import java.util.ArrayList;
import java.util.List;

/**
 * @Auther: hjy(lc))
 * @Date: 2022/8/3-08-03-14:25
 * @Description：demo.generis   泛型擦除
 */
public class use3 {
    public void show(){}

    public static void main(String[] args) {
        List<Integer> list = new ArrayList<>();
        List<String> list2 = new ArrayList<>();
        System.out.println(list.getClass() == list2.getClass());        //泛型擦除
    }
}
